/* vielle couleur de fond #fafafa*/
/* couleur moins bleue #fafafa*/

body {
    background-color: #fafafa !important;
    font-size: 15px;
    line-height: 1.5;
    position: absolute;
    width:100%;
    height: 100%;
 
         user-select: none;
    -webkit-user-select: none; /* Safari */
    -moz-user-select: none;    /* Firefox */
    -ms-user-select: none;     /* IE/Edge */



.fondgris{
    background-color: #fafafa !important;
    color: #3d3d3d;
}





h1 {
    color: rgb(126, 127, 128);
    font-family: 'Faster One';
    font-size: 2rem;
}

h2{
    color: #2E73D8 !important;
    font-family: 'Bahnschrift', sans-serif;
    margin-bottom: 20px; 
    font-size: 1.2rem !important;
    border-bottom: 1px solid;
    margin-bottom: 1.25rem !important;
}

h3{
    color: #2E73D8 !important;
    font-family: 'Bahnschrift', sans-serif;
    font-size :1.15rem !important;
    margin-left: 5px;
    margin-top: 20px!important;
    margin-bottom: 15px;
}

h4 {
    color: rgb(59, 59, 59);
     font-size: 1rem !important;
     margin-left: 10px;  
     padding-left: 10px;
     padding-bottom: 10px;
     margin-top: 20px !important;
     border-bottom: 1px dashed grey;
}

 

.footer {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100%;
  height : 60px;
  background-color: rgba(105, 103, 103, 0.479);
  color: white;
  text-align: center;
}

.panneaufichiers{

    background-color:rgb(0,0,0);
    position: absolute;
    top:0px;
    left:0px; 
    width: 100%;
    height: 100%;
    z-index:100;
    transition: 0.5s;
      
}




select {

    padding: 6px 12px;
    margin: 5px 3px 3px 3px;
    display: inline-block;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
    font-size: 1.15em;

}

select:invalid { color: gray; }

.logo {
    float:left ;
    cursor: pointer;;
    margin-right :10px;
}

 
#segments {
  position: relative;
  padding-left: 10px;
  padding-right: 23%;
  width: 100%;
  flex-grow: 1;
  outline: none;
  overflow: auto;
  height: calc(100vh - 125px);
  padding-bottom: 10px;
  margin-top:120px;
}


#fondseg{
    padding-left: 40px;
    padding-right: 40px;
    outline: none;

}
#panneau-g{

    width:16%;
    height: calc(100vh);
    margin-left:-10px;
    position:fixed

}

#panneau-d{

    width:16%;
    margin-left:83%;
    position:fixed;
    height : calc(100vh - 200px);

}

#notes{
  padding-top: 10px;
 
  /*padding-left: 40px;
  height:250px;
  width : 77%;
 
  display: flex;
  flex-direction: column;
  */

}
#txtnotes {
  position: relative;
  width: 99%;
  /* height: calc(100% - 40px); 
  background: none;*/
  padding-left: 5px;
  padding-right: 5px;
  word-wrap: normal;
  border: none;
  
  outline: none;
  overflow-y: auto;
  flex-grow: 0.85;
}



#txtnotes:focus{
  background-color: white;
}


#vit_lect{
    min-width: 4%;
    margin-right: 20px;
}

#menu_rec{
    cursor: pointer;
    position: relative; 
    float:right;
    margin-top: 10px; 
    margin-right: 20px; 
    margin-left: 20px;
    background-color: #2E73D8 !important;
    min-width: 8%;
    border-radius: 3px;
    padding: 4px;

}

#menu_rec:hover .menudrlnt {
    border: 1px solid #1100ff;
    display: block;
}


.overlay {
    float:left;
    height: 0%;
    width: 100%;
    position: fixed;
    z-index: 1;
    top: 0;
    left: 0;
    background-color: rgb(55, 59, 82);
    background-color: rgba(55,59,82, 0.9);
    overflow-x: hidden;
    transition: 0.5s;
    font-size:30px;
    color:rgb(202, 202, 243)
}

.overlay-content {
    position: relative;
    top: 17%;
    width: 100%;
    text-align: center;
    margin-top: 30px;
}


.overlay a {

    text-decoration: none;
    color: #ffffff;
    transition: 0.3s;
}


.overlay a:hover, .overlay a:focus {
    color: #f1f1f1;
}

.overlay .closebtn {
    position: absolute;
    top: 15px;
    right: 45px;
    font-size: 60px;
}

 
 
.bouton{
    background-color: #ddd;
    color: rgb(46, 45, 45);
    cursor: pointer;
    padding: 5px;
    padding-top:10px;
    width: 150px;
    border: 2px solid rgb(145, 145, 145);
    text-align: center;
    vertical-align: middle;
    outline: none;
    transition: 0.4s;
    border-radius: 5px;
    height: 60px;
    font-size:1.25em;
    height:20px ;
    float:left;
    display:none;

}
 
.btnfonction {
  border: 1px solid #2e73d8;
  border-radius: 3px;
  color: #2e73d8;
  float: left;
  padding-top: 3px;
  padding-bottom: 3px;
  margin-top: 4px;
  margin-right: 5px;
  cursor: pointer;
  height: 35px;
  margin-top: 5px;
  /* background-color: #bdbdbd62 !important; */
  text-align: center;
  margin-bottom: 2px;
  margin-top: 1px;
  box-shadow: 1px 1px 1px 1px rgb(200,200,200);
}


.btnfonction:hover {
     
    background-color:rgb(255, 255, 255) !important;
     
    }

.btnfonction:active {
     transition: 0.1s;
     background-color:  #2e72d825 !important;

 
  transform: translate(1px, 1px);
  box-shadow: none;
 
}

.isselloc{

    border: 3px solid blue;
}


.btngeant {
  position:relative;
  margin-top: 10px; 
  max-width: 760px;
  width:100%;
  height: 240px;  
  line-height: 120%;
  font-family: Articulat,helvetica,arial,sans-serif;
  display: flex;
  cursor: pointer;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  font-size: 16px;
  line-height: 20px;
  color: #fff;
  border-radius: 8px;
  border: 2px dashed #666;
  background-color: #00000000 !important;
}

.btngeant:hover {
  background-color: #61606070 !important;
}

.btngeant_ok{
  background-color: #96bb86 !important;
  border: 3px solid #116d28;
}

.selfich{

    position:relative;
   width: 100%;
  display: flex;
  margin: 0 24px;
  flex-direction: column;
  max-height: 100vh;
  padding-bottom: 6.25rem;
  align-items: center;
  justify-content: center;
}

.lblfich{
    font-family: Articulat,helvetica,arial,sans-serif;
    position:absolute;
    left:200px;
    width: 540px;;
    height: 50px;
    color:white;
    text-align: center;
    
}

.ensavoirplus{

 
    background-color: black;
    color: white;
    font-size: 1.2rem;
    padding-left: 25%;
    padding-right: 25%;
    padding: 10px 25% 10px 25%;

}

.lblmnuxprt{
    border: 1px solid gray;
    width:100%;
    left:0%;
    height: 70px;
    padding:15px;    
    cursor:pointer;
}

.lblmnuxprt:hover{
    background-color: rgb(194, 198, 216);
    transition:0.8s;
}

.logobtn{
    position:absolute;
    left:50px;
    height:66%;
    margin-top: 25px;
}

#btnfichtext.hover { border: 3px dashed #666 !important; }

.btnlarge{
     
    width:99%;
}

.btnlarge-rec{
    width: 130px;
    margin-top: 10px;
    margin-bottom: 10px;
    margin-right: 3px;
}

.btnpetit{
    width:40px;
    margin-top:5px;
}

 

.btnspd{
    position:relative; 
    float:left;
    min-width:25px;
    margin-top: 10px;
    margin-right: 5px;
    font-size: 1.5rem;
}


.intertitre{
  font-size: 16px;
  line-height: 120%;
  font-family: Articulat,helvetica,arial,sans-serif;
  z-index: 1;
  color: #fff;
  font-weight: 500;
  font-size: 14px;
  padding-right: 20px;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-top: 120px;
   
}

.dnone{
    display: none !important;
}
 
.txtloc{
    width:100%;
    margin-top: 5px;
    text-align: center;
}

.lblseg{
    font-size: 18px;
    text-justify: auto;
    margin-left:0px;
   /* border-left: 1px solid rgb(223, 223, 223); */
    margin-right: 3px;
    margin-bottom: 1px;
    padding-left: 0px;
    padding-right: 0px;
    color:#323232   /* #1a1a1a #c8c9cc*/;
    outline: none;
    opacity: 1;
    transition: opacity 0.8s ease-out;
    user-select: none;
    /*display: flex;
    flex-direction: row;
    */
}

 

.ligloc::before {
  content: attr(data-nomloc);
  color: #838383;
  font-style: italic;
  white-space: pre;
  display: block;
  padding-top: 15px;
  margin-bottom: 4px;
  margin-left: 0px; 
  padding-left: 15px;
  font-weight: 100;
    
  border-bottom: 2px solid transparent;
  border-image: linear-gradient(to right, #83838373, #f9f9f9) 1;
  background-color: #f9f9f9;

}



  


.lblseg:focus-visible{
  border-bottom: 3px solid #80bdff !important;
  box-shadow: 2px 2px  2px 2px 0.1rem 0.1rem rgba(0,123,255, 0.25);
  
}

.segselected{

  /*border : 1px solid #80bdff !important;*/
  background-color: white;
  /*box-shadow: 2px 2px  2px 2px 0.1rem 0.1rem rgba(0,123,255, 0.25);
   */

}

/*
.segselected::before {
    content: "";
    display: block;
    background-image: url('right.png'); 
    background-repeat: no-repeat;
    opacity: 0.5;
    position:fixed; 
    
    width: 20px;
    height: 20px;
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
    border-left: 10px solid #2E73D8;
    display: inline-block;
    vertical-align: middle;
    margin-left: -30px;
    padding-left: 20px;
     
}
*/

.segvisible{
   
  opacity: 1;
}

.sautlig{

  display: block ;

}

.cmpct {

  display: inline-block !important;

}

 


.mot{
    font-size: 1.1rem;
    text-justify: auto;
    margin-bottom: 0.5rem;
    color:#323232   /* #1a1a1a #c8c9cc*/;
    cursor:pointer; 
 
}

.premmot{
    padding-left: 5px;
    margin-left:15px
}
 
.qst {
    font-style: italic;
    font-weight: bold;
    color : rgb(76, 76, 77)
}

.enlect{

    color: rgb(0,102,166);
}

.arrow-right {
    width: 0; 
    height: 0; 
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-left: 10px solid #fafafa ;
    float:left;
    margin-top:5px;
  }

  .arrow-visible{
    border-left: 10px solid rgb(0,102,166)  ;
  }




 

.debsel {
    border-radius: 5px 0px 0px 5px;
    border-left: 4px solid #ff8a00;
    padding-left: 6px;
  
}
 

.finsel{
  border-radius: 0px 5px 5px 0px;
  border-right:  4px solid #ff8a00; 
  padding-right: 6px;
}

 .finsel:hover::after{
  opacity: 1;
 
}


.finsel::after {
  content: " + ";
  border-radius: 25%;
  text-align: center;
  width: 20px;
  height: 20px;
  pointer-events: auto;
  cursor: pointer;
  z-index: 10;
  background-repeat: no-repeat;
  padding-left: 5px;
  padding-right: 5px;
  border: 2px solid ;
  opacity: 0.5;
  box-shadow: 2px 2px;
  text-align: center;
  background-color: #f9f9f9;
 
}
  

.finsel::after:hover {
  background-color: #fff50a; 
}

 

.txtbtn{
    position:relative;
    float: right;
    margin-top: 7px;
    margin-left: 10px;
    margin-right: 20px;
   /* font-weight: bold;*/
    font-size: 1rem;
    color:white;
    cursor: pointer;

}

.txtbtn-bleu{
     color:rgb(0,102,166);
     text-shadow: 0px 1px 0px white;
}


.dragzone{

    background-color: #3c3c3b;
    color : #b1b1b0
}



.cadrepied{
    border: 1px solid rgb(245, 245, 245);
    background-color: rgb(252, 252, 252);
    border-radius: 5px;
    float:left;
    padding:3px;
    margin-left: 34px;
    margin-right: 5px;
    margin-top: 15px;
    cursor: pointer;
    height: 60px;
}
 

 /* The Modal (background) */
 .dialog {
    display: none;  
    position: fixed;  
    z-index: 100;  
    left: 0;
    top: 0;
    width: 100%;  
    height: 100%;  
    overflow: auto;  
     
    background-color: rgba(0,0,0,0.75); 
  }
  
  /* Modal Content/Box */
  .dialog-content {
    border-radius: 5px;
    background-color: #fafafa;
    margin-left: 25%;  
    padding: 20px;
    padding-top:5px;
    border: 1px solid #888;
    width: 50%;  
    top: 25%;
    position:fixed;
     

  }

  .lblformat{
    color: #2E73D8;
    font-size: 1.25rem;
    font-weight: bold;
    

  }

  .lbldetails{
    margin-left: 15px;
    color: #858688;
    font-style: italic;
  }
  
  /* croix de fermeture */
  .close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    color: black;
    cursor: pointer;
    transition: 0.3s;
    opacity: 0.1;
  }
  
  .close:hover,
  .close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
    opacity: 0.5;
  } 

  .close:active{
    opacity: 1;
  }

 
.closemnucont {
     
    padding: 0px 5px 3px 5px;
    opacity: 0.6   !important;
    font-weight: 100;
    font-size: 1.5rem;
    border-radius: 3px;
    
    text-align: center;
    margin-right: 5px;
}

.closemnucont:hover {
opacity: 1 !important;

background-color: #8d8d8d91;
}


  .closeloc{
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease-in-out;
     
  }

 

  .btnbleu {
    font-size: 2rem;
    float: right;
    margin-top: -4px;
    /* margin-right: 5px; */
    padding-left: 5px;
    padding-right: 5px;
    padding-top: 2px;
    padding-bottom: 0px;
    line-height: 1.7rem;
    color: #2E73D8; 
    transition-duration: 0.3s;
    border:1px solid #fafafa ;
    opacity:0.50;
}

.btnbleu:hover{

  border-radius: 4px;
  border:1px solid #2E73D8 !important;
  background-color: #ffffff;
  color : #2E73D8 !important;
  opacity: 1;
}

.btnbleu:active{
  border:1px solid #1b488a !important;
  transition: 0s;


}

.btnfiltre {
  background-image: url('filtre.png');
  content: "";
  background-repeat: no-repeat;
  background-size: 20px 20px;
  background-position-x: center;
  background-position-Y: center;
  height: 30px;
  width: 30px;
  /* opacity: 0.55; */
}

.btnfiltre_actif {
 
    background-color: #ffffff;
    border: 2px solid #2355db;
    border-radius: 5px;

}

.survseg {
  background-color: rgb(255 255 0 / 42%);
  transition: 0.3s;
   
  animation: pulseJaune 2s infinite alternate ease-in-out;
}
  
@keyframes pulseJaune {
  0% { background-color: hsl(61deg, 100%, 75% / 70%); }  
  50% { background-color: hsl(61, 100%, 90% / 70%); }  
  100% { background-color: hsl(61, 100%, 75% / 70%); }  
}

.survok {
  background-color:  rgb(255 255 0 / 42%);
  transition: 0.3s;
  cursor: pointer;
  animation: pulseOk 2s infinite alternate ease-in-out  !important;
}
  
@keyframes pulseOk {
  0% { background-color: hsl(138deg 75% 92%); }  
  66% {background-color: hsl(138deg 70% 92%);}  
  100% {  background-color: hsl(138deg 75% 92%); }  
}



  /* Le panneau latéral */
#panneauthm {
    position: fixed;
    top: 90px;
    left: -1000px; /* Hors de la vue initialement */
    width:16%;
    height: calc(100vh);
    margin-left:-10px;
    background-color: #333;
    color: white;
    padding: 20px;
    box-shadow: 2px 0 5px rgba(0, 0, 0, 0.5);
    transition: left 0.3s ease; /* Animation fluide */
    z-index: 999;
  }
  
  /* Quand la classe 'active' est ajoutée */
  .panneauthm.active {
    left: 0; /* Le panneau devient visible */
  }

  /* Colonne fixe à gauche */
.fixed-column {
    width: 16%; /* Largeur fixe de 16% */
    background-color: #f4f4f4; /* Couleur de fond (modifiable) */
    display: flex;
    flex-direction: column; /* Les blocs seront empilés verticalement */
  }
  
  /* Blocs à l'intérieur de la colonne */
  .block {
    flex: 1; /* Prend un espace égal (50%) */
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #ccc; /* Optionnel : pour voir les séparations */
    box-sizing: border-box;
  }
  
  /* Contenu principal */
  .main-content {
    flex: 1; /* Occupe tout l'espace restant */
    background-color: #34b15344; /* Couleur de fond pour le contenu principal */
    padding: 20px;
  }

  .ligthm {

    width: 100%;
    padding-left: 5px;
    overflow-y: clip;
    border: 1px solid rgb(201 191 191);
    border-bottom-left-radius: 7px;
    margin-bottom: 1px;
    color: rgb(53 52 52);
    height: auto;
    transition: height 0.5s ease;
    display: flex;
    align-items: center; /* Centre verticalement */
    flex-direction: row;
    text-align: center !important;
    justify-content: center;
     
}

  .ligthm:active{
  opacity: 1;
  /*height: auto !important*/
  }

  .ligthm:hover{
    opacity: 1;
    border: 1px solid rgb(28, 28, 153);


  }

  .ligthm::before {
    content: "";
    display: block;
    /*left: calc(100% - 60px);
    width: 20px;  
    */
    height: 20px;
      
    
    background-size: cover;
    opacity: 0.1;
    margin-right: 8px;
   
    margin-left: 0px;
    bottom: auto;
    text-align: center;
     
  } 

  .ligthm:hover::before {
    display: block;
   /* background-image: url('loupe.png'); */
    opacity: 0.5;
   
  }

  .ligthm:active::before {
    display: block;
    /*background-image: url('loupe.png'); */
    opacity: 1;
   
  }

  .ligthm-cmpct{ /* apparence des lignes thématiques contractée */
    height: 1px;
    font-size: 0%;

  }
  .ligthm-cmpct:hover::before {
    display: block;
    background-image: ""; 
    opacity: 1;
   
  }

  .ligthm-active::before{
    
    display: block;
   /* background-image: url('loupe.png'); */
    opacity: 1;

  }

  .ligthm-active{
    
   
    background-image: url(''); 
    opacity: 5;
     

  }

  .ligthm-inactive {
    background-image: url('');
    opacity: 5;
    background-color: rgb(214 213 213 / 31%) !important;
    color: #79787885;
    background-image: linear-gradient(rgba(0, 0, 0, 0) 60%, #dbdbdb60 95%, #adadad 100%) !important;
}

  .ligthm::after {
    content: "";
    display: block;
    /*left: calc(100% - 60px);*/
    width: 20px;  
    height: 20px;
      

    background-size: cover;
    margin-right: 8px;
   
    margin-left: auto;
    bottom: auto;
    text-align: center;
     
    
}

.ligfam-cmpct::after {
  background-image: url('cmb.png'); 
  background-size: cover;
  transform: rotate(180deg);
  transition: 0.3s;
  text-align: center;
}

.ligfam::after {
  background-image: url('cmb.png'); 
  
  transition: 0.3s;
  text-align: center !important;
}

/* filtrage des thématiques */
.ligthmF {
    width: 100%;
    padding-left: 5px;
    overflow-y: clip;
    border: 1px solid rgb(201 191 191);
    border-bottom-left-radius: 7px;
    margin-bottom: 1px;
    color: rgb(53 52 52);
    height: auto;
    transition: height 0.5s ease;
    display: flex;
    align-items: center;
    flex-direction: row;
    text-align: center !important;
    justify-content: flex-start;
    font-size: 0.9rem;
    font-weight: normal;
}

.ligthmF:hover {
  z-index: 100; 
  border-color: black;
   
}

.lblthm::after {
    background-image: url('filtre.png');
    background-size: cover;
    content: "";
    width: 16px; 
    height: 16px;
    cursor: pointer;
    margin-left:-128px; 
    pointer-events: none;
}

.lblthm {
    cursor: pointer;
    user-select: none;
    margin-left: 5px;
    width: 100%;
    text-align: left;
    border-left: 1px solid #c9bfbf;
    /* margin-bottom: -2px; */
    padding-left: 5px;
}

 

#listThmFltr {
    height: 86%;
    overflow-y: auto;
    margin-right: 5px;
    margin-left: 5px;
    padding-right: 5px;
    padding-left: 5px;
    overflow: auto;
}


.blocfiltre {
  display: inline-block;
  color: rgb(44, 44, 44);
  font-size: 1rem !important;
  padding-left: 5px;
  padding-right: 5px;
  border-radius: 3px;
  border: 1px solid #f3f7f694;
  top:0 !important; 
  max-height: 120px;
  white-space: nowrap;
}
  
.thm-sel {
    box-shadow: 2px 2px 2px 2px rgb(247 247 247 / 21%);
    opacity: 1;
    border: 2px solid !important;
    /* margin: 5px; */
}

.thm-sel::before {
    content: "✓";
    font-size: 1.2rem;
    color: #000000;
    font-weight: bold;
    margin-right: 5px;
    opacity: 0.6;
    margin-top: -8px;
}

  .thm-nonsel{
    
    opacity: 0.6;

  }

 
  

  .thm_000{

    background-color: #63636333

  }

/* COMBO DE SELECTION DES THMS */
  .combothm {
    position: relative;
    display: inline-block;
    width: 99%;
    cursor: pointer;
   
    margin:3px;
  }

  details {
      position: relative;
  }

  summary {
      list-style: none;
      padding: 2px;
      background: #eee;
      border: 1px solid #ccc;
       
      margin:10px

  }

  details[open] summary {
      background: #ddd;
  }

  .optionscmb {
      position: absolute;
      width: 100%;
      background: white;
      border: 1px solid #ccc;
      box-shadow: 0 2px 5px rgba(0,0,0,0.2);
      padding: 0;
      margin: 0;
      list-style: none;
      z-index: 10;
      max-height: 200px !important;
      overflow-y: auto !important;
  }

  .optionscmb li {
      padding-left: 15px;
       
      cursor: pointer;
  }

  .optionscmb li:hover {
      background: #ddd !important;
  }



  .containerpage {
    display: flex;
    flex-direction: column;
    height: 100vh; /* Occupe toute la hauteur de la fenêtre */
    width: 100%;
    border-radius: 3px;
    overflow-y: hidden;
}

 

.contenu {
    display: flex;
    height: calc(100vh - 20px); /* On enlève la hauteur des lignes fixes */
  }

  .hautpage {
    flex-shrink: 0; /* La ligne supérieure reste fixe */
    float:left;
    height: 90px;
    font-family: 'Bahnschrift', sans-serif;
    font-size: 15px;
    line-height: 1;
     
    position:fixed;
    padding:10px;
    margin-top: -10px;
    margin-left:-10px;
    width:101%;
    z-index:3;
     
    transition: 0.2s;
    position:fixed;

}

  .ligne {
    height: 60px;  
    background-color: #f4f4f4;
    border-bottom: 1px solid white;
   

    
    
  }
  
  #ligne1 {
    background-color: #555;
  }
  
  /* Espacement en dessous des lignes fixes */
  header + .contenu {
    margin-top: 120px; /* hauteur totale des 2 lignes fixes */
  }
  
.colonne-gauche {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 121px; /* Pour positionner la colonne après les lignes fixes */
  left: 0;
  width: 33%;
  height: 100%; /* Hauteur pleine */
  background-color: #f4f4f4;
  padding: 4px;
}


.bloc {
 
    min-height: 15%;
    max-height: 100%; /* Diviser la hauteur disponible en trois blocs égaux */
    padding: 10px;
    margin-bottom: 2px;
    background-color: #f4f4f4;
    border: 1px solid #f2f2f2;
    border-radius: 3px;
    display: none;
  }

  .blocvisible {
    display: flex;
    flex-direction: column;
    flex:1;
  }
  
  

  /* Colonne de droite (2/3 de la largeur) */
  .colonne-droite {
    
    margin-left: 34%;
    width: auto;
    background-color: #f9f9f9;
    padding: 10px;
    height: calc(100vh - 20px);
    position: relative;
}
  
  .defilement {
     
  flex-grow: 1; /* Remplit l'espace restant */
  overflow-y: auto; /* Ajoute un défilement si le contenu dépasse */
  }

  #ligneResize{

    height: 5px;
    background-color: #f4f4f4;
    cursor: ns-resize;
    width:77%;
    margin-top:5px;
    margin-bottom:5px;

  }
  
  #ligneResize:hover{

    background-color: #464545;

  }

  #colResize{
    position:fixed;
    top:122px;
    height: 100%;
    background-color: #f4f4f4;
    cursor: ew-resize;
    width:5px;
    margin-right:5px;
    left:33%;
  }
  
  #colResize:hover{

    background-color: #464545;

  }


   

  .resizable {
    flex-grow: 1;
     
    overflow: hidden;
  }

 

  .obs::after {
    content: attr(data-auth) " : \A " attr(data-obs);
    white-space: pre-line;
    position: absolute;
    left: 78%;
    width: 20%;
    background-color: #f4f4f4;
    padding: 10px;
    border-radius: 5px;
    box-shadow: 0px 1px 1px 1px rgba(63, 63, 63, 0.2);
    height: auto;
    overflow: hidden; 
    resize: none;  
    font-size: 1rem;
    font-weight: 500;
    min-height: 50px;
    opacity: 0.8; 
    cursor: pointer;
  }

  .obs:hover::after{
    border: 1px solid #a7a7a7;
    z-index:1000;
  }

 

 .surlignobs{
  background-color: #eeeeee;
 }

  .lgnobs{
    height: 1px;
    background-color: #11111152;
    position: absolute;
    left: 74%;
    width: 4%;
    margin-top: 15px;

  }


  .autobs {
    position: absolute;
    left: 77.5%;
    background-color: #ffffff;
    margin-top: -15px;
    display: block;
    padding-left:5px;
    padding-right:15px;
    box-shadow: 1px 1px 1px 1px rgba(63, 63, 63, 0.2);
     
    margin-bottom: 3px;
    opacity: 1;
    z-index: 2;
    /* background-color: #f5f5f5; */
    font-size: 0.8rem;
}
 


  .chkcat{
    position: absolute;
    top: -4px;
    left: -5px;
  }
/* Conteneur principal avec un cadre arrondi */
.floating-label-container {
  position: relative;
  width: 100%;
  padding-top: 5px;
  margin-left: 0px;
  margin-top: 10px;
  margin-bottom: 10px;
}

/* Ajout du cadre arrondi */
.floating-label-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 1px solid #e4e3e3;
  border-radius: 4px;
  pointer-events: none;
  transition: border-color 0.2s ease-in-out;
}

/* Met en évidence le cadre au focus */
 

.floating-label-container:focus-within::before {
  border-color: #2E73D8;;
}

/* Champ de saisie */
.floating-input {
  width: 100%;
  padding: 6px 4px;
  font-size: 15px;
  border: none; /* Supprime le cadre natif */
  outline: none;
  background-color: transparent;
  padding-left: 10px;
}

/* Supprimer le placeholder visuel natif */
.floating-input::placeholder {
  color: transparent;
}

/* Label flottant */
.mdc-floating-label {
  position: absolute;
  top: 12px;
  left: 12px;
  font-size: 16px;
  color: #aaa;
 
  padding: 0 4px;
  transition: all 0.2s ease-in-out;
  pointer-events: none;
}

/* État flottant du label */
.floating-input:focus + .mdc-floating-label,
.floating-input:not(:placeholder-shown) + .mdc-floating-label {
  top: -8px;
  left: 12px;
  font-size: 12px;
  background-color: #fafafa; /* Cache le cadre derrière le label */
  color: #2E73D8; /* Couleur au focus */
}

.floatingstatic{
  top: -8px;
  left: 12px;
  font-size: 12px;
  background-color: #f4f4f4; /* Cache le cadre derrière le label */
  color: #2E73D8; /* Couleur au focus */
}
.colpicker{
width:100%;
height: 45px;
}

/* Contrôles de taille de police */
.font-size-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px;
  font-size: 16px;
}
/* Boutons d'ajustement */
.font-size-controls button {
  width: 30px;
  height: 30px;
  font-size: 18px;
  font-weight: bold;
  background-color: #f0f0f0;
  border: 1px solid #ccc;
  border-radius: 50%;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.font-size-controls button:hover {
  background-color: #e0e0e0;
}

.font-size-controls button:active {
  transform: scale(0.9);
}

/* Affichage de la taille actuelle */
.current-font-size {
  font-size: 16px;
  font-weight: bold;
  color: #333;
}


.imgbtn_g{
  position:relative;
  float:left;
  margin-left:12px;
  margin-top: 11px;
  opacity: 0.3;
  cursor:pointer
}

.imgbtn_g:hover{
  opacity: 0.7;
}

.imgbtn:hover{
  opacity: 0.7;
}

.imgbtn:active{
  opacity: 1;
}

/* MENUS */
.fondmenu {
  display: none;
  position: absolute;
  background-color: #f9f9f9;
  border: 1px solid #ccc;
  padding: 10px;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
  z-index: 1000;
}

.fondmenu li {
  padding: 8px;
  cursor: pointer;
}
.fondmenu li:hover {
  background-color: #ddd;
}

#locuteurs{
  overflow-y: auto;
  top: 120px;
  height: calc(100% - 150px);
}





/* TEMPLATES DES CATEGORIES */

.tmpl_cat_001{
  background-image: linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, 0), #4e6cce40);
  box-shadow: inset 0px -3px 0px #4e6cce9d;
}

#listthm {
  padding-right: 5px;
  /* flex: 1; */
  overflow-y: auto;
  top: 120px;
  height: calc(100% - 150px);
  padding-bottom: 50px;
}

.rang_0{
  
  margin-top:5px !important; 
  margin-left:3px;
  width: calc(100% - 3px);
  margin-top: 0px;
  text-align: center !important;

}

.rang_1{
  border-top: none;
  margin-left:10px;
  width: calc(100% - 20px);
  margin-top: -2px;
  text-align: center !important;

}

.rang_2{
  border-top: none;
  margin-left:20px;
  width: calc(100% - 40px);
  margin-top: -1px;

}
.rang_3{
  border-top: none;
  margin-left:30px;
  width: calc(100% - 60px);
  margin-top: -1px;

}

.rang_4{

  border-top: none;
  margin-left:40px;
  width: calc(100% - 80px);
  margin-top: -1px;


}
.rang_5{

  border-top: none;
  margin-left:50px;
  width: calc(100% - 100px);
  margin-top: -1px;


}

.rang_6{

  border-top: none;
  margin-left:60px;
  width: calc(100% - 120px);
  margin-top: -1px;


}


.messageFiltre {
  position: fixed;
  top: 115px;
  float: right;
  height: 1.5rem;
  width: fit-content;
  background-color: #2e73d8;
  border: 1px solid #ffffff;
  border-radius: 5px;
  box-shadow: 2px 2px 2px 3px rgb(46 115 216 / 35%);
  padding: 25px;
  display: flex;
  align-items: center;
  flex-direction: row;
  gap: 7px;
  color: #ffffff;
  transform: translate(0px,10px);
  transition: 0.3s ease-in;
  z-index: 10;
  cursor: pointer;
}

.messageFiltre.fermer::after{
  /*background-image: url('close.png'); */
  content: "x";
  background-size: cover;
  font-weight: bold;
}

.messageFiltre.copier::after{
  background-image: url('copy.png'); 
  content: "";
  background-size: cover;
  font-weight: bold;
}


.removeFilter:hover{
  background-color: #105fd4;
}
 
.removeFilter:active{
  transition: 0s;
  background-color: #0049b8;
}

.fondsynth{

  position:fixed; 
  top:0px;
  left:0px; 
  height: calc(100vh);
  width: 100%;
  background-color: #fafafa;
  opacity: 0.95;
  z-index:100;


}

table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  font-size: 18px;
  text-align: left;
  border-radius: 8px;
  overflow: hidden; /* Empêche les bordures arrondies d’être coupées */
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
}

th, td {
  padding: 12px 15px;
  border-bottom: 1px solid #ddd;
}

th {
  background-color: #2e73d8;
  color: white;
  font-weight: bold;
}

tbody tr:nth-child(even) {
  background-color: #f3f3f3; /* Alternance de couleur */
}

tbody tr:hover {
  background-color: #ddd; /* Effet au survol */
  cursor: pointer;
}

  /* Style du menu contextuel */
  .context-menu {
    position: absolute;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    padding: 8px 0;
    min-width: 360px;
    max-width: 360px;
    z-index: 1000;
}

.menu-title {
    font-weight: bold;
    padding: 8px 16px;
     color: #333;
     margin-bottom: 0px;
}

 
.menu-title-cat::before {
    background-image: url("../IMG/logocat.png");
    background-size: cover;
    content: "";
    width: 20px;
    height: 20px;
    cursor: pointer;
    display: inline-block;
    pointer-events: none;
    margin: -5px 10px 0px 0px;
    opacity: 0.3;
    vertical-align: middle;
}

.menu-title-loc::before {
    background-image: url("../IMG/logoloc.png");
    background-size: cover;
    content: "";
    width: 20px;
    height: 20px;
    cursor: pointer;
    display: inline-block;
    pointer-events: none;
    margin: -5px 10px 0px 0px;
    opacity: 0.3;
    vertical-align: middle;
}

.menu-title-com::before {
    background-image: url("../IMG/logocom.png");
    background-size: cover;
    content: "";
    width: 22px;
    height: 20px;
    cursor: pointer;
    display: inline-block;
    pointer-events: none;
    margin: -5px 10px 0px -2px;
    opacity: 0.3;
    vertical-align: middle;
}

.menu-title-search::before {
    background-image: url("../IMG/logosearch.png");
    background-size: cover;
    content: "";
    width: 22px;
    height: 20px;
    cursor: pointer;
    display: inline-block;
    pointer-events: none;
    margin: -5px 10px 0px -2px;
    opacity: 0.3;
    vertical-align: middle;
}

.menu-title-copy::before {
    background-image: url("../IMG/logocopy.png");
    background-size: cover;
    content: "";
    width: 20px;
    height: 25px;
    cursor: pointer;
    display: inline-block;
    pointer-events: none;
    margin: -5px 10px 0px -2px;
    opacity: 0.3;
    vertical-align: middle;
}

/* Style des éléments du menu */
.context-menu .menu-item {
    padding: 10px 16px;
    font-size: 14px;
    color: #333;
    cursor: pointer;
    transition: background 0.2s ease-in-out;
}

/* Effet au survol */
.context-menu .menu-item:hover {
    background: #f5f5f5;
}

/* Ligne de séparation */
.context-menu .divider {
    height: 1px;
    background: #ddd;
     
}

/* lignes de catégories */
.menu-cat::after {
    content: "x";
    display: block;
    height: 4px;
    margin: -3px 0;
    font-size: 1rem;
    float: right;
    color: #cbc3c39e;
}

/* Sélection sous-menu */
.menu-add {
    color: #555454;
     
}

.menu-add::before {
    content: "+";
    font-size: 1.3em;
    font-family: Arial, "Segoe UI Symbol", "Noto Sans Symbols", sans-serif;
    vertical-align: middle;
  
    float: left;
    color: #cbc3c39e;
    margin-right: 5px;
} 


.menu-add::after {
    content: "➔";
    font-size: 1.3em;
    font-family: Arial, "Segoe UI Symbol", "Noto Sans Symbols", sans-serif;
    vertical-align: middle;
    margin-left: 10px;
    float: right;
    color: #cbc3c39e;
    margin-right: -5px;
}


*/ pour la fenêtre de mise en attente*/
.fenetreattente {
  
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  justify-content: center;
  align-items: center;
  z-index: 1000;

}


.lblspin {
  float:left;
  Top: 55%;
  Left: 43%;
  position: fixed;
  color:#444
  

}

@keyframes spinner {
  0% {
    transform: translate3d(-50%, -50%, 0) rotate(0deg);
  }
  100% {
    transform: translate3d(-50%, -50%, 0) rotate(360deg);
  }
}

.spin::before {
  animation: 0.5s linear infinite spinner;
  animation-play-state: inherit;
  border: solid 5px #cfd0d1;
  border-bottom-color: #1c87c9;
  border-radius: 50%;
  content: "";
  height: 60px;
  width: 60px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate3d(-50%, -50%, 0);
  will-change: transform;
}

/* 
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
CORPUS
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

*/
.fondcnv {
  position:relative;
  margin-left: 200px;
  width: calc(100% - 200px);
}


.cnv{

  margin-top: 5px;
  height: 30px;
  margin-top: 5px;
  margin-bottom: 0px;
  margin-right: 30px;
  width:100%; 
  border: 1px solid #b9b9b9;
  border-radius: 5px;
  background-image: linear-gradient(#adadad57 0%, #fbf5f560 50%, #adadad9e 100%) !important;
  z-index:10; 
  cursor: pointer;
}

.cnv:hover{
  opacity: 1;
  border: 1px solid rgb(28, 28, 153);
}

.cnv:active{
  opacity: 1;
  border: 2px solid rgb(28, 28, 153);
}
.fondcnv::before {
 
  content: attr(data-nom);
  color: #838383;
  white-space: pre;
  display: block;
  margin-bottom: 4px;
  font-weight: 100;
  position: absolute;
  left: -200px;
  transform: translateY(-50%);
  top: 50%;
  width:200px;
  overflow:hidden; 


   
}

 


.fenent {
  position: fixed;
  top: 0px;
  left: 0%;
  width: 100%;
  height: 100%;
  background-color: #f9f9f9;
  border-radius: 5px;
  opacity: 0.95;
  overflow-y: scroll;
  /* display: none; */
  padding-top: 10px;
  padding-left: 16%;
  padding-right: 16%;
  z-index: 100;
  padding-bottom: 200px;
  line-height: 1.8rem;
}

 .entete{
  position: fixed;
  top: 60px;
  left: 0%;
  width: 100%;
  height: 60px;
  background-color: #f4f4f4;
  border-radius: 5px;
  opacity: 0.95;
   
  /* display: none; */
  padding-top:10px; 
  padding-left: 16%;
  padding-right: 16%;
  z-index: 100;
 }

 .titreent {
  float: left;
  margin-left: 60px;
  font-size: 1.5rem;
  font-weight: bold;
  color: #2E73D8;
  margin-top: 10px;
  white-space: nowrap; /* Empêche le retour à la ligne */
  overflow: hidden;    /* Cache le contenu qui dépasse */
  text-overflow: ellipsis; /* Ajoute "..." si le contenu est trop long */
  border-bottom: 1px solid #2E73D8;
}
 
.titreentsynth {
  float:none !important;
  margin-top: 30px; 
}

.extrait-synthese {
  width: 66%;
  background-color: #f9f9f9;
  border-radius: 5px;
  border: 1px solid #b9b9b9;
  opacity: 0.95;
  padding-top: 10px;
  padding-left: 30px;
  padding-right: 30px;
  font-size: 18px;
  margin-bottom: 5px;
  padding-top: 5px;
  padding-bottom: 30px;
  left: 33%;
  margin-left: 16%;
  box-shadow: 3px 3px #dedede;
  margin-top: 10px;
}

.extrait-synthese::before {
  content: attr(data-description);
  color: rgb(103 99 99 / 72%);
  display: block;
  margin-bottom: 10px;
  border-bottom: 1px solid rgb(211 207 207);
  background-image: linear-gradient(45deg, #d5d5d54d, transparent);
  margin-left: -30;
  padding-left: 10px;
  border-radius: 3px;
  margin-top: -5px;
  padding-bottom: 5px;
  margin-right: -30px;
}

.prefixe{
  opacity: 0.4;
}

.btn_synth{
  
    position: relative;
    float: left;
    margin-left: 10px;
    margin-top: 10px;
    color: white;
    font-size: 1rem;
    text-align: center;

}

.btn_synth:hover{
  color:rgb(211, 211, 211) !important; 
}
.btn_synth:active{
  color:rgb(211, 211, 211) !important; 
}

.ligchrono{

  height:40px;
  border-color: red;
  border-style: solid;
  border-width: 1px;
  width: 2px;
  z-index: 10;
  position:absolute
}

.highlight{
  background-color: #fff50a;
  border-radius: 5px;
  padding: 2px;
}

.contour{
  border: 1px solid #2E73D8;
}

/*/////////////////////////////////////////////////////
*/

.ligmoda{
 
    display:flex; 
    flex-direction:row; 
    justify-content:space-between; 
    align-items:center;
}
.case-moda {
    border: 1px solid;
    margin-left: 5px;
    margin-right: 5px;
    margin-bottom: 3px;
    width: 95%;
    border-radius: 3px;
    background-color: white;
   
}
 
.codemoda{
  width:10%;
}


.libmoda{
  width:90%;
}

.var-privee{
  position: absolute;
  top: 0px;
  left: 0px;
  width: 100%;
  
  background-color: rgba(255, 255, 255, 0.5);
  border-radius: 3px;
  z-index: -1; /* Pour que le texte soit au-dessus */
}

.var-publique{
  position: absolute;
  top: 0px;
  left: 0px;
  width: 100%;
  
  background-color: rgb(255, 255, 255);
  border-radius: 3px;
  z-index: -1; /* Pour que le texte soit au-dessus */
}

.liglocvar{

    margin-top: 10px;
    margin-bottom: 5px;
    border-bottom: 1px solid white;
    clear: both ;
    font-size: 1.1rem;
    color: #000000;

}

.liglocvar::before {
  content: "• "; /* La puce Unicode */
  color: black;   /* Optionnel : couleur de la puce */
}

.ligvar{
 
    border: 1px solid darkgrey;
    width: fit-content;
    width: 40%;
    height: 37px; 
    overflow: hidden;
    border-radius: 5px 0px 0px 5px;
    background-color: #cbc7c759;
    padding: 5px;
    cursor: pointer;
    float:left;

}

.ligvar:hover{
  background-color: #ffffff;
  border: 1px solid #2E73D8;
  color: #2E73D8;
}

.ligmod{
  display: flex;
      
    background-color: #ffffff59;

    cursor: pointer;
    margin-bottom: -1px;
      

}

.ligmod::after{
 background-image: url('cmb.png');
    background-size: cover;
    content: "";
    width: 16px; 
    height: 16px;
    cursor: pointer;
    margin-left:-28px; 
    pointer-events: none;
}



.txtmod {
    border: 1px solid darkgrey;
    width: fit-content;
    width: 66%; 
    border-radius: 0px 5px 5px 0px;
    background-color: #ffffff;
    padding: 5px;
    cursor: pointer;
    /* float: left; */
}

.txtmod:hover{
  background-color: #ffffff;
  border: 1px solid #2E73D8;
  color: #2E73D8;
}

.ligvarcmb::after{

  
    background-image: url('cmb.png');
    background-size: cover;
    content: "";
    width: 16px; 
    height: 16px;
    /* margin-left: 5px; */
    border: 1px solid darkgrey;
    /* width: 6%; */
    border-radius: 0px 5px 5px 0px;
    background-color: #cbc7c759;
    padding: 17px;
    cursor: pointer;
    float: left;
    pointer-events: none;

 }

.menu-dic-item:hover{
  color:blue;
  background-color: #f4f4f4;

}

.color-choose{
  height: 27px;
  width: 10px;
  border-radius: 2px;
  border: 1px solid #f4f4f4; 
  cursor: pointer;
  padding-top: 3px;
}

.color-choose:hover{
  border: 1px solid #ffffff;
  height:30px;
  padding-top: 0px;
  margin-top: -3px;
   
}


}